home *** CD-ROM | disk | FTP | other *** search
- Path: nova.umuc.edu!not-for-mail
- From: srussell@nova.umuc.edu (Steve Russell)
- Newsgroups: comp.lang.c++
- Subject: " A silly beginner's question
- Date: 7 Apr 1996 22:51:58 -0400
- Organization: University of Maryland University College
- Message-ID: <4k9v0e$p57@nova.umuc.edu>
- NNTP-Posting-Host: nova.umuc.edu
-
- This may sound like a dumb question, but hey Im still a new programmer
- and it is one of this things not talked a lot about in school.
-
- Anyway what is a " core dump"? What causes it? What is a
- "segment fault"? I've seen messages like " segment fault, core
- dumped". I stopped it by putting in exit commands before they
- could happen, but what do these messages mean?
-
- Also, I made my first class destructor today for deallocating
- dynamically allocated memory. I put a brief output message in
- it to let me know when it executes. I never saw it, does this
- mean that it doesn't execute or just that it executes after my
- program is completely over ( hence no message).
-
- Is there a way to manually get the destructor to execute?
-
- Thanks
- STeve
-